Bug 1598255 Comment 19 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(Hidden by Administrator)
```
python -m ffpuppet ~/code/browsers/firefox/firefox -p pref.js -d -u testcase.html 
[2019-12-18 10:08:40] Launching Firefox...
[2019-12-18 10:08:50] Running Firefox (pid: 13309)...
[2019-12-18 10:09:02] Shutting down...
[2019-12-18 10:09:02] Firefox process closed
[2019-12-18 10:09:02] Displaying logs...

===
=== Dumping 'log_ffp_asan_13306.log.13363.txt' (10.81KB)
===
=================================================================
==13363==ERROR: AddressSanitizer: SEGV on unknown address 0x60f0002d00c9 (pc 0x7fa40857359c bp 0x000040086f04 sp 0x7fa40e0cc260 T6)
==13363==The signal is caused by a READ memory access.
    #0 0x7fa40857359b  (/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so+0x30159b)
    #1 0x7fa408573f3d  (/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so+0x301f3d)
    #2 0x7fa4085bceab  (/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so+0x34aeab)
    #3 0x7fa4085bd026  (/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so+0x34b026)
    #4 0x7fa4085be48d  (/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so+0x34c48d)
    #5 0x7fa40836bb96  (/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so+0xf9b96)
    #6 0x7fa40873e17b  (/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so+0x4cc17b)
    #7 0x7fa4087302bd  (/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so+0x4be2bd)
    #8 0x7fa4087354f3  (/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so+0x4c34f3)
    #9 0x7fa4086f6994  (/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so+0x484994)
    #10 0x7fa4086f954f  (/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so+0x48754f)
    #11 0x7fa4086fc9d7  (/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so+0x48a9d7)
    #12 0x7fa4288e7ff7 in gleam::ffi_gl::Gl::TexSubImage2D::h72b10e5895f17a5b /builds/worker/workspace/build/src/obj-firefox/x86_64-unknown-linux-gnu/release/build/gleam-9a4ba89dbedbd1ad/out/gl_bindings.rs:4660:289
    #13 0x7fa4288e7ff7 in _$LT$gleam..gl..GlFns$u20$as$u20$gleam..gl..Gl$GT$::tex_sub_image_2d_pbo::he4d9ebf837a2218e /builds/worker/workspace/build/src/third_party/rust/gleam/src/gl_fns.rs:720:12
    #14 0x7fa42960b52d in webrender::device::gl::UploadTarget::update_impl::hef8c7898691c8e66 /builds/worker/workspace/build/src/gfx/wr/webrender/src/device/gl.rs:3703:16
    #15 0x7fa42961cd01 in _$LT$webrender..device..gl..TextureUploader$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop::hdffcfd8bd53fabec /builds/worker/workspace/build/src/gfx/wr/webrender/src/device/gl.rs:3527:16
    #16 0x7fa42961cd01 in core::ptr::real_drop_in_place::hffecef07eadf1df1 /rustc/4560ea788cb760f0a34127156c78e2552949f734/src/libcore/ptr/mod.rs:175
    #17 0x7fa42961cd01 in webrender::renderer::GpuCacheTexture::flush::h9a17f37110c4ceef /builds/worker/workspace/build/src/gfx/wr/webrender/src/renderer.rs:1544:12
    #18 0x7fa42961cd01 in webrender::renderer::Renderer::update_gpu_cache::_$u7b$$u7b$closure$u7d$$u7d$::h5e776f06582a2710 /builds/worker/workspace/build/src/gfx/wr/webrender/src/renderer.rs:3356:19
    #19 0x7fa42961cd01 in webrender::profiler::TimeProfileCounter::profile::hecf7cc9e84482912 /builds/worker/workspace/build/src/gfx/wr/webrender/src/profiler.rs:455:18
    #20 0x7fa42961cd01 in webrender::renderer::Renderer::update_gpu_cache::hf2aa23084cf4bdf5 /builds/worker/workspace/build/src/gfx/wr/webrender/src/renderer.rs:3355:27
    #21 0x7fa429620ca9 in webrender::renderer::Renderer::prepare_gpu_cache::h4cddf42befd811a1 /builds/worker/workspace/build/src/gfx/wr/webrender/src/renderer.rs:3378:8
    #22 0x7fa429620ca9 in webrender::renderer::Renderer::render_impl::_$u7b$$u7b$closure$u7d$$u7d$::h95ae999999988323 /builds/worker/workspace/build/src/gfx/wr/webrender/src/renderer.rs:3108:16
    #23 0x7fa429620ca9 in webrender::profiler::TimeProfileCounter::profile::h22ef4317f4772fc0 /builds/worker/workspace/build/src/gfx/wr/webrender/src/profiler.rs:455:18
    #24 0x7fa429620ca9 in webrender::renderer::Renderer::render_impl::h4ac7cffe8fcf31a6 /builds/worker/workspace/build/src/gfx/wr/webrender/src/renderer.rs:3089:8
    #25 0x7fa42962f77c in webrender::renderer::Renderer::render::hef93f1e58d0583b5 /builds/worker/workspace/build/src/gfx/wr/webrender/src/renderer.rs:2911:21
    #26 0x7fa4298409ce in wr_renderer_render /builds/worker/workspace/build/src/gfx/webrender_bindings/src/bindings.rs:659:10
    #27 0x7fa41e36121d in mozilla::wr::RendererOGL::UpdateAndRender(mozilla::Maybe<mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> > const&, mozilla::Maybe<mozilla::wr::ImageFormat> const&, mozilla::Maybe<mozilla::Range<unsigned char> > const&, bool, mozilla::wr::RendererStats*) /builds/worker/workspace/build/src/gfx/webrender_bindings/RendererOGL.cpp:151:29
    #28 0x7fa41e35fd39 in mozilla::wr::RenderThread::UpdateAndRender(mozilla::wr::WrWindowId, mozilla::layers::BaseTransactionId<mozilla::VsyncIdType> const&, mozilla::TimeStamp const&, bool, mozilla::Maybe<mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> > const&, mozilla::Maybe<mozilla::wr::ImageFormat> const&, mozilla::Maybe<mozilla::Range<unsigned char> > const&, bool) /builds/worker/workspace/build/src/gfx/webrender_bindings/RenderThread.cpp:477:31
    #29 0x7fa41e35eb7e in mozilla::wr::RenderThread::HandleFrameOneDoc(mozilla::wr::WrWindowId, bool) /builds/worker/workspace/build/src/gfx/webrender_bindings/RenderThread.cpp:353:3
    #30 0x7fa41e38dd96 in applyImpl<mozilla::wr::RenderThread, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId, bool), StoreCopyPassByConstLRef<mozilla::wr::WrWindowId>, StoreCopyPassByConstLRef<bool> , 0, 1> /builds/worker/workspace/build/src/obj-firefox/dist/include/nsThreadUtils.h:1124:12
    #31 0x7fa41e38dd96 in apply<mozilla::wr::RenderThread, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId, bool)> /builds/worker/workspace/build/src/obj-firefox/dist/include/nsThreadUtils.h:1130:12
    #32 0x7fa41e38dd96 in mozilla::detail::RunnableMethodImpl<mozilla::wr::RenderThread*, void (mozilla::wr::RenderThread::*)(mozilla::wr::WrWindowId, bool), true, (mozilla::RunnableKind)0, mozilla::wr::WrWindowId, bool>::Run() /builds/worker/workspace/build/src/obj-firefox/dist/include/nsThreadUtils.h:1176:13
    #33 0x7fa41bc17a52 in MessageLoop::RunTask(already_AddRefed<nsIRunnable>) /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:442:9
    #34 0x7fa41bc18834 in MessageLoop::DeferOrRunPendingTask(MessageLoop::PendingTask&&) /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:450:5
    #35 0x7fa41bc1908b in MessageLoop::DoWork() /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:523:13
    #36 0x7fa41bc1aa36 in base::MessagePumpDefault::Run(base::MessagePump::Delegate*) /builds/worker/workspace/build/src/ipc/chromium/src/base/message_pump_default.cc:35:31
    #37 0x7fa41bc17637 in RunInternal /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:315:10
    #38 0x7fa41bc17637 in RunHandler /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:308:3
    #39 0x7fa41bc17637 in MessageLoop::Run() /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:290:3
    #40 0x7fa41bc360fa in base::Thread::ThreadMain() /builds/worker/workspace/build/src/ipc/chromium/src/base/thread.cc:192:16
    #41 0x7fa41bc2838c in ThreadFunc(void*) /builds/worker/workspace/build/src/ipc/chromium/src/base/platform_thread_posix.cc:40:13
    #42 0x7fa43e0906da in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76da)
    #43 0x7fa43d06e88e in clone /build/glibc-OTsEL5/glibc-2.27/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so+0x30159b) 
Thread T6 (Renderer) created by T0 (GPU Process) here:
    #0 0x55c7e652f26a in pthread_create /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:209:3
    #1 0x7fa41bc2348c in CreateThread /builds/worker/workspace/build/src/ipc/chromium/src/base/platform_thread_posix.cc:123:14
    #2 0x7fa41bc2348c in PlatformThread::Create(unsigned long, PlatformThread::Delegate*, unsigned long*) /builds/worker/workspace/build/src/ipc/chromium/src/base/platform_thread_posix.cc:134:10
    #3 0x7fa41bc358dd in base::Thread::StartWithOptions(base::Thread::Options const&) /builds/worker/workspace/build/src/ipc/chromium/src/base/thread.cc:97:8
    #4 0x7fa41e35ac86 in mozilla::wr::RenderThread::Start() /builds/worker/workspace/build/src/gfx/webrender_bindings/RenderThread.cpp:74:16
    #5 0x7fa41e2bc60f in mozilla::gfx::GPUParent::RecvInit(nsTArray<mozilla::gfx::GfxVarUpdate>&&, mozilla::gfx::DevicePrefs const&, nsTArray<mozilla::gfx::LayerTreeIdMapping>&&) /builds/worker/workspace/build/src/gfx/ipc/GPUParent.cpp:261:5
    #6 0x7fa41c38db81 in mozilla::gfx::PGPUParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/build/src/obj-firefox/ipc/ipdl/PGPUParent.cpp:770:53
    #7 0x7fa41bd119c2 in mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:2212:25
    #8 0x7fa41bd0c624 in mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:2134:9
    #9 0x7fa41bd0e8ef in mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:1973:3
    #10 0x7fa41bd0f7f0 in mozilla::ipc::MessageChannel::MessageTask::Run() /builds/worker/workspace/build/src/ipc/glue/MessageChannel.cpp:2004:13
    #11 0x7fa41aaf3857 in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp:1241:14
    #12 0x7fa41aafe05c in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/workspace/build/src/xpcom/threads/nsThreadUtils.cpp:486:10
    #13 0x7fa41bd1d344 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /builds/worker/workspace/build/src/ipc/glue/MessagePump.cpp:109:5
    #14 0x7fa41bc17637 in RunInternal /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:315:10
    #15 0x7fa41bc17637 in RunHandler /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:308:3
    #16 0x7fa41bc17637 in MessageLoop::Run() /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:290:3
    #17 0x7fa422a82a48 in nsBaseAppShell::Run() /builds/worker/workspace/build/src/widget/nsBaseAppShell.cpp:137:27
    #18 0x7fa4265a99c6 in XRE_RunAppShell() /builds/worker/workspace/build/src/toolkit/xre/nsEmbedFunctions.cpp:946:20
    #19 0x7fa41bc17637 in RunInternal /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:315:10
    #20 0x7fa41bc17637 in RunHandler /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:308:3
    #21 0x7fa41bc17637 in MessageLoop::Run() /builds/worker/workspace/build/src/ipc/chromium/src/base/message_loop.cc:290:3
    #22 0x7fa4265a906f in XRE_InitChildProcess(int, char**, XREChildData const*) /builds/worker/workspace/build/src/toolkit/xre/nsEmbedFunctions.cpp:781:34
    #23 0x55c7e65770c1 in content_process_main /builds/worker/workspace/build/src/browser/app/../../ipc/contentproc/plugin-container.cpp:56:28
    #24 0x55c7e65770c1 in main /builds/worker/workspace/build/src/browser/app/nsBrowserApp.cpp:303:18
    #25 0x7fa43cf6eb96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310

==13363==ABORTING

===
=== Dumping 'log_stdout.txt' (1.33KB)
===
1576643922674	addons.webextension.doh-rollout@mozilla.org	WARN	Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1576643926070	addons.webextension.screenshots@mozilla.org	WARN	Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1576643926070	addons.webextension.screenshots@mozilla.org	WARN	Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1576643926071	addons.webextension.screenshots@mozilla.org	WARN	Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1576643926071	addons.webextension.screenshots@mozilla.org	WARN	Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=14.2702) Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=13.8608) Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=12.5354) [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
[GFX1-]: Receive IPC close with reason=AbnormalShutdown
```

Back to Bug 1598255 Comment 19